 <?php
$dbhost = 'localhost';  // mysql服务器主机地址
$dbuser = 'ether_gq';            // mysql用户名
$dbpass = '8MN6ZYmayNbRwxm7';          // mysql用户名密码
$dbname = 'ether_gq';
$conn = mysqli_connect($dbhost, $dbuser, $dbpass,$dbname);

$a='SELECT * FROM user WHERE username=\''.$_GET["username"].'\'';
$sql=mysqli_query($conn,$a);

$row = mysqli_fetch_array($sql);

$friends_list=$row[3];

echo $friends_list;

mysqli_close($conn);


?>